@primary-color: #088395;
@primary-hover-color: rgb(22, 162, 184);
@primary-font-family: 'Helvetica';

.order_item {
  font-size: @primary-font-family;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(163, 170, 171, 0.2);

  .order_item_up {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;

    .order_item_up_goods {
      // display: flex;

      .order_item_up_goods_con {
        display: flex;

        .order_item_up_goods_img {
          width: 79px;
          height: 79px;
          display: flex;
          justify-content: center;
          align-items: center;
  
          box-sizing: border-box;
          border: 1px solid rgba(163, 170, 171, 0.2);
          border-radius: 5px;
  
          img {
            height: 55px;
            width: 55px;
          }
        }
  
        .order_item_up_goods_info {
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          margin-left: 12px;
  
          .order_item_up_goods_info_title {
            color: rgb(20, 28, 29);
            font-size: 16px;
            font-weight: 700;
          }
  
          .order_item_up_goods_info_material {
            width: 300px;
            // 超出就用省略号
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: rgb(20, 28, 29);
            font-size: 16px;
            font-weight: 400;
          }
  
          .order_item_up_goods_info_num {
            color: rgb(20, 28, 29);
            font-size: 16px;
            font-weight: 400;
          }
        }

        &:not(:first-child) {
          margin-top: 20px;
        }
      }

      
    }

    .order_item_up_price {
      height: auto;
      display: flex;
      align-items: center;

      color: rgb(20, 28, 29);
      font-size: 16px;
      font-weight: 700;
    }

    .order_item_up_operate {
      display: flex;
      flex-direction: column;
      height: auto;

      .order_item_up_operate_btn {
        width: 127px;
        height: 40px;

        box-sizing: border-box;
        border-radius: 8px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-family: Jost;
        font-size: 14px;
        font-weight: 400;
        text-transform: capitalize;

        transition: all 0.4s;

        cursor: pointer;
      }

      div:first-child {
        border: 1px solid rgb(20, 28, 29);
        color: rgb(20, 28, 29);

        &:hover {
          @btn-color: #aaaaaa;
          border: 1px solid @btn-color;
          color: @btn-color;
        }
      }

      div:last-child {
        margin-top: 10px;
        color: #fff;
        
      }

      .operate_btn_actived2 {
        background: #FF7262;

        &:hover {
          background: #ff978c;
        }
      }

      .operate_btn_actived1 {
        background: #088395;

        &:hover {
          background: #1ab4cc;

        }
      }
    }
  }

  .order_item_down {
    margin-top: 31px;
    display: flex;

    .order_item_down_status {
      width: 82px;
      height: 30px;

      border-radius: 4px;

      padding: 6px 10px 6px 10px;
      box-sizing: border-box;

      display: flex;
      align-items: center;
      justify-content: center;

      font-size: 12px;
      font-weight: 400;
    }

    .status_is_actived1 {
      background-color: #3CD1391A;
      color: #3CD139;
    }

    .status_is_actived2 {
      background-color: #E3B2311A;
      color: #E3B231;
    }

    .order_item_down_desc {
      height: auto;
      display: flex;
      align-items: center;
      margin-left: 10px;

      color: rgb(20, 28, 29);
      font-size: 16px;
      font-weight: 400;
    }
  }
}